package item.inkcloud.resourceservice.mapper;

import item.inkcloud.resourceservice.entity.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
@Mapper
public interface ResoMapper{

    void publishResource(Resource resource);

    List<Resource> findAll();
}